//
//  LWAccountSelectCell.m
//  LWShopItem
//
//  Created by apple on 17/5/7.
//  Copyright © 2017年 LWShop.com. All rights reserved.
//

#import "LWAccountSelectCell.h"

@interface LWAccountSelectCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (weak, nonatomic) IBOutlet UIButton *selectBtn;

@end

@implementation LWAccountSelectCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (IBAction)selectClick:(id)sender {
}

-(void)setDict:(NSDictionary *)dict {
    _dict = dict;
    [_dict enumerateKeysAndObjectsUsingBlock:^(NSString *  _Nonnull key, NSString *  _Nonnull obj, BOOL * _Nonnull stop) {
        _nameLabel.text = key;
        [_selectBtn setTitle:obj forState:UIControlStateNormal];
    }];
}

@end
